Global Index
HTML5 JS API Index > Web Audio Tutorials & Specs

AudioBuffer

This interface represents a memory-resident audio asset (for one-shot sounds and other short audio clips). Its format is non-interleaved IEEE 32-bit linear PCM with a nominal range of -1 -> +1. It can contain one or more channels. Typically, it would be expected that the length of the PCM data would be fairly short (usually somewhat less than a minute).

Properties
doubleduration
longlength
longnumberOfChannels
floatsampleRate
Operations
Float32ArraygetChannelData(unsigned long channel)
Referenced by
AudioBufferSourceNodebuffer
AudioProcessingEventoutputBuffer
ConvolverNodebuffer
OfflineAudioCompletionEventrenderedBuffer